<template>
  <div style="width: 340px;margin: 0px;padding: 0px;">
    <div>
        <img style="width: 80px;height: 80px;margin-left: 140px;margin-top: 300px;" src="./图片/22222222.png">
    </div>
    <div>
        <p style="font-size: 20px;margin-left: 90px;margin-top: -1px;">分享日益完美的自己</p>
    </div>
    <div >
        <el-button style="width: 70px;margin-left: 150px;" type="primary" @click = "jump" round>去发布</el-button>
    </div>
  </div>
  <RouterView />
</template>

<style scoped>

</style>

<script setup>
import { useRouter } from 'vue-router';
const router1 = useRouter();
const jump = (id) => {
  // 如果是内部路由跳转 (Vue Router)
  router1.push({path:'/fabuWenzhang'})


};
</script>